package beautiful.butterfly.drds.data_exchange.core.util;


import common.util.Configuration;
import org.apache.commons.lang3.Validate;

/**
 * 对配置文件做整体检查
 */
public class ConfigurationValidate
{
    public static void doValidate(Configuration allConfig)
    {
        Validate.isTrue(allConfig != null, "");

        coreValidate(allConfig);

        pluginValidate(allConfig);

        jobValidate(allConfig);
    }

    private static void coreValidate(Configuration allconfig)
    {
        return;
    }

    private static void pluginValidate(Configuration allConfig)
    {
        return;
    }

    private static void jobValidate(Configuration allConfig)
    {
        return;
    }
}
